package com.lynx.system.service;

import com.lynx.system.beans.Order;

import java.util.List;

public interface OrderService {

    void save(Order order);

    List<Order> findOrdersByUid(long uid,int index, int limit);

    int findCountByUid(long uid);

    List<Order> findOrdersByState(int state,int index,int limit);

    int findCountByState(int state);

    void editState(long id);
}
